package com.liziguo.lzgfp.server.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Author: Liziguo
 * @Date: 2021/12/25 15:17
 */
@Configuration
public class Config {

    @Value("${forward.port}")
    private int port;

    @Bean
    public int forwardPort(){
        return port;
    }

}
